package com.example.socket;

/**
 * @Classname ServletMapping
 * @Description TODO
 * @Date 2022/8/18 10:09
 * @Created by XiongXiong
 * @Author: X.I.O
 */
public class ServletMapping {


    private String url;

    private String clazz;

    private Servlet servlet;

    public ServletMapping(String url, Servlet servlet) {
        this.url = url;
        this.servlet=servlet;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public Servlet getServlet() {
        return servlet;
    }

    public void setServlet(Servlet servlet) {
        this.servlet = servlet;
    }
}
